package com.hs.room.model.archive

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 档案存取日志
 */
@Entity(tableName = "archive_log")
data class ArchiveLog(
    @PrimaryKey(autoGenerate = true)
    val localId: Long,//本地数据库主键
    @ColumnInfo
    val id: Long,//服务器返回ID

    @ColumnInfo
     val archiveName: String,
    @ColumnInfo
     val userName: String,

    @ColumnInfo
     val userNumber: String,

    @ColumnInfo
     val archiveNumber: String, //档案编号

    @ColumnInfo
     val createTimeStr: String,

    @ColumnInfo
     val createTime: Long,

    @ColumnInfo
     val boxStorageNumberId: Long,

    @ColumnInfo
     val boxStorageName: String,

    @ColumnInfo
     val img: String,

    @ColumnInfo
     val remark: String,

    @ColumnInfo
     val take: Boolean,

    @ColumnInfo
     val success: Boolean
)
